<?php
class Silk_Translations extends Silk_Gateway
{

    protected $_dao_class = 'Silk_Dao_Translation';

    protected $_model_class = 'Silk_Translation';

    protected $_primary_key = 'translation_id';

    public function getSite($pTranslation)
    {
        $translation = $this->getModelObject($pTranslation);

        $Sites = new Silk_Sites();

        return $Sites->fetch($translation->site_id);
    }

    public function getObject($pTranslation)
    {
        $translation = $this->getModelObject($pTranslation);

        $Objects = new Silk_Objects();

        return $Objects->fetch($translation->object_id);
    }

    public function getMeta($pTranslation)
    {
        $translation = $this->getModelObject($pTranslation);

        $Metas = new Silk_Metas();

        return $Metas->fetch($translation->meta_id);
    }


}

 ?>